<?php
$x = 2;
$y = 3;
function test(){
    global $x,$y;
    $y = $x + $y;
}
echo "y:$y\n";
test();
echo "y:$y";
